package Testwork;

class Manager extends Employee {
	public double bonus;
	
	public Manager(String name, String adress, String phonenumber, String email, int age, String gender, Double salary,
			Double bonus) {
		super(name, adress, phonenumber, email, age, gender, salary);
		this.bonus = bonus;
	}


	@Override
	public String toString() {
		return "Manager [bonus=" + bonus + ", toString()=" + super.toString() + "]";
	}

}